package com.ibl.rover.lite.client.constants;

public class RoverConstants {

	public static final int CURRENT_CUSTOMER = 01;
	public static final int CURRENT_SELECTED_SKU = 02;
	public static final int CURRENT_ORDER_BOOKING_LINE = 03;
	public static final int CURRENT_ORDER_PRODUCT_LIST = 04;
	public static final int CURRENT_ORDER_QUANTITY_LIST = 05;
	public static final int CURRENT_ORDER_SUCESS = 06;
	public static final int CURRENT_PREVIOUS_ORDER_SUCESS = 07;
	public static final Integer CURRENT_PREVIOUS_ORDER_SUCESS_BOOKIG_LINE = 8;
	public static final String CUSTOMERS = "CUSTOMERS";
	public static final String PRODUCT = "PRODUCT";
	public static final String PRODUCTS_CATEGORY = "PRODUCTCATEGORY";
	public static final String APPSETUP = "APPSETUP";
	public static final String ROUTE = "ROUTE";

	public static final String SYNC_XML_PATH = "SyncXml.xml";


	public static class ServerErrCode {
		public static final int SUCCESS = 0;
		public static final int ERR_NOT_RSO = 5;
		public static final int ERR_AUTHENTICATION_FAILED = 10;
		public static final int ERR_SSA_RSO_ID_NULL = 12;
		public static final int ERR_IMEI_NOT_FOR_FAARCHISE = 13;
		public static final int ERR_IMEI_NOT_REGISTERED = 14;
		public static final int ERR_SSA_AUTHENTICATION_FAILED = 15;
		public static final int ERR_SSA_USER_IS_NOT_ACTIVE = 16;
		public static final int ERR_IMEI_IS_NOT_ACTIVE = 17;

	}

	public static class SyncProgress {
		public static final int SYNC_APPSETUP = 1;
		public static final int SYNC_PRODUCT_CATEGORY = 2;
		public static final int SYNC_PRODUCTS = 3;
		public static final int SYNC_CUSTOMER = 4;
		public static final int SYNC_ROUTES = 5;
		public static final int SYNC_SERVER_SUCCESS = 6;
		 

	}

	public static class APPSETUP {
		public static final String LAST_ORDER_NO = "LAST_ORDER_NO";
		public static final String TSO_NAME = "TSO_NAME";
		

	}
	
	public static class PRODUCTCATEGORY {
		public static final String CATEGCODE = "CATEGCODE";
		 
   }
	
	public static class ROUTE {
		public static final String xDay = "xDay";
		public static final String xRoute = "xRoute";
		 
   }

	public static class PRODUCT {
		public static final String BRANDCODE = "BRANDCODE";
		public static final String CATEGCODE = "CATEGCODE";
		public static final String FULLDESC = "FULLDESC";
		public static final String UNITPRICE = "UNITPRICE";
		public static final String CODE = "CODE";
		public static final String DISP_SEQ = "DISP_SEQ";
	}

	
	public static class CUSTOMER {
		public static final String ADDRESS = "ADDRESS";
		public static final String CLASS_CODE = "CLASS_CODE";
		public static final String CODE = "CODE";
		public static final String CREDIT_LIMIT = "CREDIT_LIMIT";
		public static final String NAME = "NAME";
		public static final String ROU_NUMBER = "ROU_NUMBER";
		public static final String POSITION = "POSITION";
    }
	
	

}
